//
//  EditImageViewController.h
//  EditImage
//
//  Created by Ngoc on 22/12/2011.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "EditImageIncluded.h"
#import "DnSuperImageView.h"
#import "WEPopoverController.h"
#import "WEPopoverContentViewController.h"
@interface EditImageViewController : UIViewController<DnRollMenuDelegate, WEPopoverContentViewControllerDelegate> {
    UIToolbar *_toolbar;
    
    NSArray *_redoUndoToolbarItems, *_doneCancelToolbarItems;
    DnRollMenu *_rollMenu;
    DnSuperImageView  *_imageView;
    UIBarButtonItem *_bbtnRedo, *_bbtnUndo, *_bbtnCancel, *_bbtnDone, *_bbtnSave;
    SEL _saveImageSelector;
    UIImage *_originalImage;
    WEPopoverController *_popover;
}
@property (nonatomic, retain) WEPopoverController *popoverController;
-(id) initWithImage:(UIImage*) image saveSelector:(SEL) saveSelector;
@end
